//
//  UIScrollViewAdditions.h
//  Tint
//
//  Created by Kevin Wu on 2/22/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface UIScrollView (Tint)

/*
 * Content size
 */
- (void)setContentSizeIfNeeded:(CGSize)contentSize;
- (void)addSubviewAndResetContentSize:(UIView *)view;
- (void)resetContentSizeWithBottomPadding:(CGFloat)bottomPadding rightPadding:(CGFloat)rightPadding;
- (void)makeHorizontalScrollable;
- (void)makeVerticalScrollable;
- (void)makeContentSizeToViewSizeIfNeeded;

/*
 * Scrolling
 */
- (void)scrollToTopAnimated:(BOOL)animated;
- (void)scrollToCenterAnimated:(BOOL)animated;
- (void)scrollToBottomAnimated:(BOOL)animated;
- (void)stopScrollingAnimated:(BOOL)animated;

@end
